package com.ruoyi.qbms.service;

import java.util.List;

import com.ruoyi.common.core.domain.BaseSelect;
import com.ruoyi.qbms.domain.QbmsSubject;

/**
 * 题库科目Service接口
 * 
 * @author zouhuu
 * @date 2022-10-16
 */
public interface IQbmsSubjectService 
{


    /**
     * 查询题库科目
     * 
     * @param id 题库科目主键
     * @return 题库科目
     */
    public QbmsSubject selectQbmsSubjectById(Long id);

    /**
     * 查询学科选项
     * @param qbmsSubject
     * @return
     */
    public List<QbmsSubject> selectQbmsSubjectOptions(QbmsSubject qbmsSubject);


    /**
     * 查询学科树选项
     * @param qbmsSubject
     * @return
     */
    public List<BaseSelect> selectQbmsSubjectTreeselect(QbmsSubject qbmsSubject);


    /**
     * 查询题库科目列表
     * 
     * @param qbmsSubject 题库科目
     * @return 题库科目集合
     */
    public List<QbmsSubject> selectQbmsSubjectList(QbmsSubject qbmsSubject);

    /**
     * 新增题库科目
     * 
     * @param qbmsSubject 题库科目
     * @return 结果
     */
    public int insertQbmsSubject(QbmsSubject qbmsSubject);

    /**
     * 修改题库科目
     * 
     * @param qbmsSubject 题库科目
     * @return 结果
     */
    public int updateQbmsSubject(QbmsSubject qbmsSubject);

    /**
     * 批量删除题库科目
     * 
     * @param ids 需要删除的题库科目主键集合
     * @return 结果
     */
    public int deleteQbmsSubjectByIds(Long[] ids);

    /**
     * 删除题库科目信息
     * 
     * @param id 题库科目主键
     * @return 结果
     */
    public int deleteQbmsSubjectById(Long id);


}
